.login-wrap {
	width: 100%;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
	background-color: #fff;

	&::before {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		margin-left: -48%;
		background-image: url(@/assets/svg/login-bg.svg);
		background-position: 100%;
		background-repeat: no-repeat;
		background-size: auto 100%;
		content: '';
	}

	.login-container {
		position: relative;
		padding-left: 2.5rem;
		padding-right: 2.5rem;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		margin-left: auto;
		margin-right: auto;
		height: 100%;
		width: 100%;
		box-sizing: border-box;
		max-width: 1536px;

		.login-box {
			display: flex;
			height: 100%;
		}

		.login-left {
			width: 50%;
			display: flex;
			align-items: center;
			position: relative;

			.login-logo {
				display: flex;
				width: 60%;
				height: 80px;
				position: absolute;
				top: 12px;
				align-items: center;
				padding-left: 7px;
				cursor: pointer;
				transition: all 0.2s ease;

				img {
					width: 48px;
				}

				.login-logo-text {
					margin-left: 0.5rem;
					font-size: 24px;
					color: #fff;
					font-weight: 700;
					transition: all 0.5s;
					line-height: normal;
				}
			}

			.left-content {
				margin-top: auto;
				margin-bottom: auto;

				img {
					width: 50%;
					margin-top: -4rem;
					vertical-align: middle;
					border-style: none;
					max-width: 100%;
					height: auto;
					display: block;
				}

				.left-content-text-one {
					margin-top: 3.5rem;
					--tw-text-opacity: 1;
					color: rgba(255, 255, 255, var(--tw-text-opacity));
					font-weight: 500;
					font-size: 2.2rem;
					line-height: 2.25rem;
					display: inline-block;
				}

				.left-content-text-two {
					--tw-text-opacity: 1;
					color: rgba(255, 255, 255, var(--tw-text-opacity));
					margin-top: 1.25rem;
					font-weight: 400;
				}
			}
		}

		.login-right {
			display: flex;
			align-items: center;
			width: 50%;
			justify-content: flex-start;

			.login-form-box {
				background-color: #fff;
				border-radius: 0.8rem;
				padding: 1rem;
				width: auto;
				margin-left: 4rem;
				margin-right: auto;
			}
		}
	}
}
.login-form {
	min-width: 400px;
}
/* 页面宽度小于1200px
------------------------------- */
@media screen and (max-width: $lg) {
	.login-wrap {
		background-color: #293146;

		&::before {
			display: none;
		}
		.login-container {
			max-width: $lg;
			.login-box {
				.login-left {
					display: none;
				}
				.login-right {
					width: 100%;
					justify-content: center;
					.login-form-box {
						width: 50%;
						margin-left: auto;
					}
				}
			}
		}
	}
}
/* 页面宽度小于992px
------------------------------- */
@media screen and (max-width: $md) {
	.login-wrap {
		.login-container {
			max-width: $md;
			.login-box {
				.login-right {
					.login-form-box {
						width: 65%;
						padding-left: 2rem;
						padding-right: 2rem;
					}
				}
			}
		}
	}
}

/* 页面宽度小于768px
------------------------------- */
@media screen and (max-width: $sm) {
	.login-wrap {
		.login-container {
			max-width: $sm;
			.login-box {
				.login-right {
					.login-form-box {
						width: 90%;
					}
				}
			}
		}
	}
}

/* 页面宽度小于576px
------------------------------- */
@media screen and (max-width: $xs) {
	.login-wrap {
		.login-container {
			max-width: $xs;
			.login-box {
				.login-right {
					.login-form-box {
						width: 100%;
					}
				}
			}
		}
	}

	.login-form {
		min-width: auto;
	}
}

/* 页面宽度小于375px
------------------------------- */
@media screen and (max-width: $us) {
	.login-wrap {
		.login-container {
			max-width: $md;
			padding-left: 1rem;
			padding-right: 1rem;
			.login-box {
				.login-right {
					.login-form-box {
						padding-left: 0;
						padding-right: 0;
					}
				}
			}
		}
	}
}
